package com.crl.ssc.dic.dto;

import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotEmpty;

/**
 * @description: 字典管理-区县字典DTO
 * @author: 孔垂云
 * @version: 1.0
 * @date: 2020-07-26 14:44:13
 */
@Data
@ApiModel("区县字典")
public class DicDistrictDTO {

	@ApiModelProperty("城市代码")
	@NotEmpty
	@Length(max = 1)
	private String cityCode; //城市代码
	@ApiModelProperty("区县代码")
	@NotEmpty
	@Length(max = 1)
	private String districtCode; //区县代码
	@ApiModelProperty("区县名称")
	@NotEmpty
	@Length(max = 1)
	private String districtName; //区县名称


}
